package com.learn.springboot.bean;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author dyz
 * @program learning
 * @create 2019-08-01 17:05
 */
@Data
@Component
public class Properties {

    @Value("${com.learn.name}")
    private String name;

    @Value("${com.learn.title}")
    private String title;

    @Value("${com.learn.chat}")
    private String chat;

    @Value("${com.learn.value}")
    private String value;

    @Value("${com.learn.number}")
    private Integer number;

    @Value("${com.learn.bignumber}")
    private Long bignumber;

    @Value("${com.learn.random1}")
    private Integer random1;

    @Value("${com.learn.random2}")
    private Integer random2;

}
